<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/jquery.min.js"></script>
    <script src="/js/vue3.2.37.global.js"></script>
    <script src="/js/axios.min.js"></script>
    <script src="/js/layer.js"></script>
    <style>
    </style>
</head>
<body>

<div id="app" style="text-align: center">

    <div style="border: 1px solid darkgrey">
        <div>
            <button style="margin-top: 50px"><a href="${oauthLoginUrl}">oauth授权登录页面<p>${oauthLoginUrl}</p></a></button>
        </div>

        <div>
            <button style="margin: 50px"><a href="${oauthInfoAdminUrl}">客户端管理的所有密钥页面<p>${oauthInfoAdminUrl}</p></a></button>
        </div>
    </div>


</div>

</body>

<script>

    /**
     * 获取url链接中某个参数的参数值
     * @param key 参数名
     */
    function getRequestParam(key){
        var url = location.search;
        var theRequest = new Object();
        if (url.indexOf("?") != -1)
        {
            var str = url.substr(1);
            strs = str.split("&");
            for (var i = 0; i < strs.length; i++)
            {
                theRequest[strs[i].split("=")[0]] = decodeURIComponent(strs[i].split("=")[1]);
            }
        }
        var value = theRequest[key];
        return value;
    }

</script>

<script>


    const {createApp} = Vue
    const request = axios.create({})
    createApp({
        data() {
            return {
            }
        },
        methods: {
        },
        mounted: async function () {

        }
    }).mount('#app')
</script>

</html>